package com.happyrecyclingstation.mapper;

import com.happyrecyclingstation.entity.Delivery;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface DeliveryMapper {
	/**
	 * 插入投递信息
	 * @param delivery
	 */
	@Insert("insert into lzxm_delivery(company_id, position_id, resume_id, user_id, status, is_view, create_time, update_time) " +
	" values (#{companyId}, #{positionId}, #{resumeId}, #{userId}, #{status}, #{isView}, #{createTime}, #{updateTime})")
	void insert(Delivery delivery);
}
